package util;

/**
 * Created by ab on 2016/11/2.
 * 获取运行时间
 */
public class Timer {
    protected final long start;
    Timer(){
        start = System.currentTimeMillis();
    }
    public long getTime(){
        return System.currentTimeMillis()-start;
    }
}
